var authurl = "http://120.55.194.39:81/cmtuc/";
var ucurl = "http://120.55.194.39:81/cmtuc/";
var cmturl = "http://120.55.194.39:81/cmt/";
var mallurl = "http://120.55.194.39:81/cmtmall/";
var mallorderurl = "http://120.55.194.39:81/cmtmallorder/";
var uploadUrl = "http://114.55.90.31:81/ngbuc/fileupload/picupload";
var prjoct_name = "cmt";

var template_viewurl = "tpls";
var login_viewurl = "manager/tpls";
// topbar
var topbars =
    [
        {
            name: "管理员",
            ui: "manager.list"
        },
        {
            name: "用户中心",
            ui: "usercenter.user"
        },
        {
            name: "服务中心",
            ui: "mealplan.order"
        },
        {
            name: "商城",
            ui: "mall.shoplist"
        }
    ];

//mealplan
var mealplan_viewurl = 'mealplan/tpls';
var mealplan_sidebars =
    [
        {
            name: "服务管理",
            ui: [
                {
                    name: "服务",
                    sref: "mealplan.servicelist"
                },
                {
                    name: "服务添加",
                    sref: "mealplan.serviceadd"
                },
                {
                    name: "服务具体项目添加",
                    sref: "mealplan.serviceitemadd"
                }
            ]
        },
        {
            name: "订单管理",
            ui: [
                {
                    name: "订单查询",
                    sref: "mealplan.order"
                },
                {
                    name: "配送订单",
                    sref: "mealplan.ordersend"
                }
            ]
        }
    ];
//manager
var manager_viewurl = "manager/tpls";
var manager_sidebars =
    [
        {
            name: "管理员管理",
            ui: [
                {
                    name: "管理员",
                    sref: "manager.list"
                },
                {
                    name: "添加管理员",
                    sref: "manager.add"
                }
            ]
        }
    ];

//usercenter
var usercenter_viewurl = "usercenter/tpls";
var usercenter_sidebars =
    [
        {
            name: "用户管理",
            ui: [
                {
                    name: "用户列表",
                    sref: "usercenter.user"
                },
                {
                    name: "添加用户",
                    sref: "usercenter.useradd"
                },
                {
                    name: "商户审核",
                    sref: "usercenter.usermerchant"
                }
            ]
        }
    ];
//mall
var mall_viewurl = "mall/tpls";
var mall_sidebars =
    [
        {
            name: "分类管理",
            ui: [
                {
                    name: "分类列表",
                    sref: "mall.catagory"
                },
                {
                    name: "添加分类",
                    sref: "mall.catagory_add"
                }
            ]
        },
        {
            name: "商店管理",
            ui: [
                {
                    name: "商店列表",
                    sref: "mall.shoplist"
                },
                {
                    name: "导入商店",
                    sref: "mall.shopimport"
                },
                {
                    name: "添加商店",
                    sref: "mall.shopadd"
                }
            ]
        },
        {
            name: "商品管理",
            ui: [
                {
                    name: "商品列表",
                    sref: "mall.goodslist"
                },
                {
                    name: "商品导入",
                    sref: "mall.goodsimport"
                },
                {
                    name: "商品sku导入",
                    sref: "mall.goodsskuimport"
                },
                {
                    name: "添加商品",
                    sref: "mall.goodsadd"
                }

            ]
        },
        {
            name: "商品分组",
            ui: [
                {
                    name: "分组列表",
                    sref: "mall.shopgroup"
                },
                {
                    name: "分组导入",
                    sref: "mall.shopgroupimport"
                },
                {
                    name: "添加分组",
                    sref: "mall.shopgroupadd"
                }
            ]
        },
        {
            name: "订单管理",
            ui: [
                {
                    name: "订单查询",
                    sref: "mall.order"
                },
                {
                    name: "发货订单",
                    sref: "mall.ordersend"
                }
            ]
        }
    ];